#ifndef _WX_HTMLFILT_H_
#define _WX_HTMLFILT_H_

#include "wx/defs.h"
#include "wx/filesys.h"

class wxHtmlFilter : public wxObject {
    DECLARE_ABSTRACT_CLASS( wxHtmlFilter )

  public:
    wxHtmlFilter() : wxObject() {}
    virtual ~wxHtmlFilter() {}
    virtual bool CanRead( const wxFSFile& file ) const = 0;
    virtual wxString ReadFile( const wxFSFile& file ) const = 0;
};

class wxHtmlFilterPlainText : public wxHtmlFilter {
    DECLARE_DYNAMIC_CLASS( wxHtmlFilterPlainText )

  public:
    virtual bool CanRead( const wxFSFile& file ) const;
    virtual wxString ReadFile( const wxFSFile& file ) const;
};

class wxHtmlFilterHTML : public wxHtmlFilter {
    DECLARE_DYNAMIC_CLASS( wxHtmlFilterHTML )
  public:
    virtual bool CanRead( const wxFSFile& file ) const;
    virtual wxString ReadFile( const wxFSFile& file ) const;
};

#endif // _WX_HTMLFILT_H_

